<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Backup or Restoration Fails Because the Domain Name of the ESXi Host Cannot Be Identified by the Backup Agent Host">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="vmware_gud_0111">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Backup or Restoration Fails Because the Domain Name of the ESXi Host Cannot Be Identified by the Backup Agent Host</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="vmware_gud_0111"></a><a name="vmware_gud_0111"></a>
  <h1 class="topictitle1">Backup or Restoration Fails Because the Domain Name of the ESXi Host Cannot Be Identified by the Backup Agent Host</h1>
  <div>
   <div class="section">
    <h4 class="sectiontitle">Symptom</h4>
    <p>The backup or restoration fails. The following error information can be found in the log of the backup agent:</p>
    <p>Failed to establish connection with the NetBackup master server. Error: HTTPSConnectionPool(host='xxx.server', port=443): Max retries exceeded with url: /netbackup/security/ping (Caused by NewConnectionError('&lt;urllib3.connection.HTTPSConnection object at 0x7f9e466b0ef0&gt;: Failed to establish a new connection: [Errno -2] Name or service not known',))</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Possible Causes</h4>
    <p>During the backup or restoration, the backup agent host needs to connect to the ESXi host that can access the disk. However, the domain name of the target ESXi host cannot be identified by the backup agent.</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Troubleshooting</h4>
    <ol>
     <li><span>Log in to the agent host as user <strong id="vmware_gud_0111__en-us_topic_0000001792390248_b1489107134913">root</strong> using PuTTY.</span></li>
     <li><span>Add the corresponding domain name server to <span class="filepath"><b>/etc/resolv.conf</b></span>, or add the mapping between the IP address and name of the target host to <span class="filepath"><b>/etc/hosts</b></span>.</span></li>
    </ol>
   </div>
  </div>
 </body>
</html>